//
//  IFly.h
//  NoteBook
//
//  Created by 云荒 on 15/11/20.
//  Copyright © 2015年 北落师门. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <iflyMSC/IFlySpeechRecognizer.h>

@protocol IFlySTOPDelegate <NSObject>

- (void)stopButton;

@end
@interface IFly : NSObject<IFlySpeechRecognizerDelegate>
{
    IFlySpeechRecognizer*iFlySpeechRecognizer;
}

@property (nonatomic, copy) void (^onResult)(NSString*);
@property (nonatomic, assign) id<IFlySTOPDelegate>Stopdelegate;
+(instancetype)shareManager;

-(void)recognizerBlock:(void(^)(NSString *))rec;
-(void)stopReconizer;
-(void)beginReconizer;
@end
